package com.jevons.geo_edit.view;

import androidx.fragment.app.Fragment;

import com.jevons.geo_edit.constant.GisGeometryType;
import com.jevons.geo_lib.op_history.DrawType;
import com.jevons.muffin.activity.BaseView;
/**
 * Copyright 2020 JxGIS
 *
 * @file GisMapView
 * @auth linaisheng
 * Created on 2023/6/13.
 * Description：
 */
public interface GisMapView extends BaseView {


    void replaceFragment(int viewId, Fragment fragment);

    void removeFragment(Fragment fragment);

    void notifyShowOperationLayout(GisGeometryType geometryType);

    void entryGeoEditModel(DrawType drawType);

    void existGeoEditModel(DrawType drawType);

    void onOpCompleteChange(DrawType drawType, boolean isComplete);

    void onOpSaveResult(DrawType drawType);

    void finishWithMsg(String msg);

    void submitSuccess();

    void showChooseShareType(String url, String code, String expireTime);

}